Deploy

In the Deploy stage of a product, release, or feature you can add stages to the deployment workflow, configure new instances, deploy tech stacks to the newly added stages, configure the source code branch for each tech stack and promote code to different stages of the deployment workflow. When you add a tech stack in the Develop phase, the Dev stage is created by default in the Deploy phase. You can add the other stages to the deployment workflow as required.

Refer to the diagram below to understand the high-level tasks that you must perform in the Deploy phase:

How does code promotion happen in the deploy phase?

In the Deploy phase, code promotion can happen at the tech stack level or at the stage level. For tech stack level code promotion, you must have the same tech stack deployed in both the stages between which you want to promote the code. For stage level promotion all the tech stacks in the previous stage must be deployed in the stage to which you want to promote the code. If you do not add all the tech stacks, then you cannot promote code at the stage level.

 

Create deployment workflow

Deploy tech stacks to the newly added stage

Promote code to various stages of the deployment workflow

Create a deployment workflow

  1. On the project page click Deploy. The Dev stage is added by default if you have added at least one tech stack in the Develop phase.
  2. You can create the deployment workflow by adding a new stage. Click Add New Stage enter the following details:
    1. Name of the stage
    2. Select Type from the options - Dev, Demo, UAT, Prod
    3. Select Deployment mode - Docker, Kubernetes
    4. Select the cloud account.
    5. Select Kubernetes clusters (this option is available if you select Kubernetes in deployment mode).
    6. Select Load Balancer type - Automatic.
    7. Select Load Balancer scheme type - Private, Public.
    8. Jenkins account.
    9. SonarQube account.
    10. Cloud Tags.
  3. Click Add.

Deploy tech stacks to the newly added stage

  1. In the newly added stage, configure the required instance type:
    1. Name
    2. Hard Disk Size - 20GB, 30GB, and so on.
    3. Select the Cloud Account
    4. Use Public Subnet toggle.
    5. Click Save.
  2. Add the tech stack to the instance type. Click Edit Details to configure the source code branch for the stage.

  3. Click the arrow on the Deploy button and select the tech stack that you want to deploy to the stage.

Until the instance is provisioned and the technology is deployed, you see a Refresh button at the top-right corner of the screen, you can click it to know the exact status. After the deployment is complete, Refresh changes to Done and the deployed technology shows a green tick.

Promote code to various stages of deployment workflow

  1. On the Deployment Workflow screen, click on a stage from which you want to promote code.
  2. Select the stage to which you want to promote the code and click Promote. On the confirmation screen, click Proceed.

Related Topics Link IconRecommended Topics

What's next?Audit History